<script setup>
import './Recommend.scss'
import Scroll from '../../components/wrap-scroll'
import newsItem from './base/newsItem.vue'
</script>

<template>
  <div class="recommend">
    <Scroll class="recommend-content">
      <div>
        <div class="zx-item-wrapper">
          <newsItem :index="index" v-for="(item,index) in 20" />
        </div>
      </div>
    </Scroll>
  </div>
</template>

<style scoped lang="scss">
.recommend {
  position: fixed;
  width: 100%;
  top: 48px;
  bottom: 0;
  overflow: scroll;

  .recommend-content {
    height: 100%;
    overflow: hidden;

    .item {
      padding: 20px;
      font-size: 12px;
      border-bottom: 1px solid #ccc;
    }
  }
}
</style>